
.container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding: 1rem 0;
    margin-bottom: 2rem;
    -webkit-overflow-scrollin: touch; /* 优化移动端滚动 */
    border-bottom: 1px solid #e0e0e0;
  }
  
  /* 隐藏滚动条（可选） */
  .container::-webkit-scrollbar {
    display: none;
  }